package com.shigen.demo.vo;

import com.shigen.demo.annation.Sensitive;
import com.shigen.demo.enums.SensitiveStrategyEnum;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author shigenfu
 * @date 2023/9/11 10:31 下午
 */
@Data
@Accessors(chain = true)
public class SensitiveVo {

    @Sensitive(strategy = SensitiveStrategyEnum.CUSTOMER, start = 1, end = 5)
    private String customer;
    @Sensitive(strategy = SensitiveStrategyEnum.FIXED_PHONE)
    private String fixedPhone;
    @Sensitive(strategy = SensitiveStrategyEnum.ADDRESS, end = 10)
    private String address;
    @Sensitive(strategy = SensitiveStrategyEnum.ADDRESS)
    private String idCard;
    @Sensitive(strategy = SensitiveStrategyEnum.BANK_CARD)
    private String bankCard;
    @Sensitive(strategy = SensitiveStrategyEnum.CAR_LICENSE)
    private String carLicense;
    @Sensitive(strategy = SensitiveStrategyEnum.CHINESE_NAME)
    private String chineseName;
    @Sensitive(strategy = SensitiveStrategyEnum.PASSWORD)
    private String password;
    @Sensitive(strategy = SensitiveStrategyEnum.IPV4)
    private String ipv4;
    @Sensitive(strategy = SensitiveStrategyEnum.MOBILE_PHONE)
    private String mobilePhone;
    @Sensitive(strategy = SensitiveStrategyEnum.EMAIL)
    private String email;

}
